package com.hbnu.dao;

import com.hbnu.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserDao {
    @Select("select * from tb_user")
    List<User> findUsers();

    List<User> findByUsernames(@Param("username")String...usernames);
}
